html, body {
    scroll-behavior: smooth;
    background-color:lightgray;

    min-width:280px;
//overflow:hidden;

}

/*html::-webkit-scrollbar {*/
/*    display: none; !* Chrome Safari *!*/
/*}*/
/*html {*/
/*    scrollbar-width: none; !* firefox *!*/
/*    -ms-overflow-style: none; !* IE 10+ *!*/
/*    overflow-x: hidden;*/
/*    overflow-y: auto;*/
/*}*/


img{
    max-width:100%;
}

#header{
    position: fixed;
    background-color: indigo;
    width:100%;
    z-index: 10000;
}



#navigationBarContainer{
    /*position:fixed;*/
    width:100%;
    /*z-index: 1000;*/
}

#navigationBar{
    position:relative;
    width:100%;
    max-width: 70em;
    margin:auto;
    background-color:whitesmoke;
}

#logo_bk{
    position:static;

    /*max-width:61%;*/

    vertical-align: middle;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin-left:2%;
    display: inline-block;
}

#menuButtonSquare {
    position: absolute;
    display: inline-block;

    /*min-width: 2em;*/
    max-width: 3em;
    margin-top:1em;
    margin-right: 2%;
    right: 0;
}


 footer{
    position:relative;
    background-color:white;
    min-height:5em;
    max-width: 70em;
     margin: auto;
    /*color: red;*/
}

 footer p{
     position: absolute;
     top: 2em;
     left: 1em;
 }


.square:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.squareContent {
    position: absolute;
    width: 100%;
    height: 100%;
    /*background-color:deeppink;*/
}

.squareContent #menuButton{
    width: 100%;
    height: 100%;
}

/*.content{*/
/*    position: absolute;*/
/*    !*tep:10em;*!*/

/*    !*margin-top: 10em;*!*/
/*    padding-top: 5em;*/
/*    !*margin-left: auto;*!*/
/*    !*margin-right: auto;*!*/
/*    margin: auto;*/
/*    max-width: 70em;*/
/*    min-width:320px;*/
/*    !*margin:auto;*!*/
/*    background-color:red;*/
/*    !*display: none;*!*/
/*    z-index: 100;*/
/*}*/

/*.karta {*/
/*    width: 100%;*/
/*    !*height: 30em;*!*/
/*    !*min-height:80vh;*!*/
/*    !*bottom:0;*!*/
/*    !*top:50em;*!*/

/*    !*text-align: center;*!*/

/*    position:-webkit-sticky;*/
/*    position:sticky;*/


/*    !*padding-top:10em;*!*/
/*}*/





.brbk_color{
    /*color:#781f23;*/
    /*color:#ab7274;*/
    /*color:#6f121c;*/

}

#brbk{
    background-color: #f1f5fe;

    background-image: url('http://brbk.pl/img/biuro.jpg');
}
#o_nas{
    background-color: #6f121c;
    color: #eeeeee;
}
#co_nas_wyroznia{
    background-color: #ffffff;
}
#oferta{
    background-color: #eeeeee;
}
#doradztwo{
    background-color: #6f121c;
    color: #d2e4e1;
}
#kariera{
    background-color: #ffffff;
}
#wsparcie_ue{
    background-color: #eeeeee;
}
#kontakt{
    background-color: #dedede;
    /*color: #d2e4e1;*/
}

#brbk .tytulKarty{
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    color:#6f121c;
    /*padding-top: 2em;*/
}

#panel_przyciskow .active{
    /*background:linear-gradient(to bottom, #33bdef 5%, #019ad2 100%);*/
    background-color:#5B1415;
    border-radius:6px;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size:16px;
    /*font-weight:bold;*/
    padding:6px 6px;
    text-decoration:none;
}


@media only screen{
    #navigationBarContainer{
        height: 3.9em;
        z-index: 1000;
    }

    #navigationBar{
        height: 3.9em;
    }

    #logo_bk{
        width: 15em;
    }

    #panel_przyciskow{
        position: absolute;
        display: inline-block;
        right: 1em;

        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    #panel_przyciskow a{
        text-decoration: none;
        color: #5B1415;

        font-family: 'Montserrat', sans-serif;
        font-size: 16px;
        padding: 0.3em;
        vertical-align: middle;
    }

    #menuButtonSquare{
        width: 2em;
        display: none;
    }

    #content{
        position: absolute;
        top: 3.9em;

        /*top:-1em;*/
        width:100%;
        z-index: 500;
    }

    .karta{
        /*padding-top: 3.9em;*/
        /*max-width: 70em;*/
        padding-top: 3.9em;
        margin: -3.9em auto 3.9em;

        position:-webkit-sticky;
        position:sticky;
        /*top:3.9em;*/
        /*bottom:0;*/
        /*min-height: 100vh;*/
    }

    .tresc{
        max-width: 70em;
        margin: 0 auto;
        font-size: 14px;
        line-height: 24px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        padding: 1em;
    }

    /*.tresc strong{*/
    /*    font-weight: 700;*/
    /*}*/

    .tresc b{
        font-weight: 700;
    }

    .tresc ul{
        /*border: solid;*/
        padding-top: 1em;
        padding-left: 2em;
        padding-bottom: 1em;

        padding-right: 2em;
    }
    .tresc ul li{
        padding-top: 0.3em;
    }

    .tresc img{
        display: block;
        margin: 1em auto;
        border: solid;
    }

    #flagi_poziom{
        width: 50em;
    }
    #flagi_pion{
        display: none;
    }
}


@media only screen and (max-width: 990px) {
    #navigationBarContainer{
        height: 5.9em;
    }

    #navigationBar{
        height: 5.9em;
    }

    #panel_przyciskow{
        position: static;
        margin-top: 1em;
        margin-left: 1em;
        /*display: inline;*/
    }

    /*#menuButtonSquare{*/
    /*    width: 2em;*/
    /*    display: inline;*/
    /*}*/
}

@media only screen and (max-width: 740px) {
    #navigationBarContainer{
        height: 3.9em;
    }

    #navigationBar{
        height: 3.9em;
    }

    /*#panel_przyciskow{*/
    /*    display: none;*/
    /*}*/


    /*#menuButtonSquare{*/
    /*    width: 2em;*/
    /*    display: inline;*/
    /*}*/
}


    #navigationBarContainer{
        height: 3.9em;
        background-color:papayawhip;
    }

    #navigationBar{
        height: 3.9em;
        background-color:papayawhip;
        min-width: 280px;
    }

    #logo_bk{
        width: 15em;
    }

    #menuButtonSquare{
        width: 2em;
    }

    #rozwijane{
        top: 3.9em;
        /*background-color: black;*/
        /*background-image: url("img\biuro.jpg");*/
    }

    #rozwijane .container{
        /*position: absolute;*/
        /*top:10em;*/
        /*left: 10em;*/
    }

    #rozwijane_ul li a{
        font-weight: 500;
        font-size: 25px;
        line-height: 50px;
        font-family: 'Montserrat', sans-serif;

        text-decoration: none;
        color: #5B1415;

        /*font-family: 'Montserrat', sans-serif;*/
        /*font-size: 16px;*/
        padding: 0.3em;
        vertical-align: middle;
    }



    #brbk .tytulKarty{
        /*font-weight: bold;*/
        font-weight: 500;
        font-size: 35px;
        line-height: 40px;
        font-family: 'Montserrat', sans-serif;

        margin-top: 5%;
        /*margin: auto;*/
    }

    .pozycje{
        /*position: absolute;*/
        /*bottom: 10%;*/
        margin-top: 15%;
    }

    .zestawDwoch{
        height: 9em;
        margin: 5%;
    }

    .zestawDwoch .pozycja{
        position: relative;
        display: inline-block;
    }

    .pozycja{
        position: relative;
        height: 9em;
        width: 6.5em;
        /*background-color: #8F3237;*/
        /*background-color: yellowgreen;*/
        padding: 2%;
        padding: 0;
        max-width: 50%;
        font-size: inherit;
    }

    .lewa{
        float: left;
    }
    .prawa{
        float: right;
    }
    .pozycja .ikona{
        position: relative;
        height: 40%;
        margin: 0;
        padding: 5%;
    }

    .pozycja .ikona img{
        /*width: 90%;*/
        /*height: 80%;*/
        /*width: auto;*/
        max-width: 98%;
        max-height: 98%;
        width: inherit;

        /*margin: auto;*/
        /*margin: 0;*/
        position: absolute;
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .pozycja .podpis{
        font-family: 'Montserrat', sans-serif;
        /*height: 50%;*/
        /*margin: 0 auto auto 0;*/
        text-align: center;
        margin: 0;
        padding: 0;
        color: #333333;

        width: 100%;
    }

    .pozycja .podpis .strong{
        color:#6f121c;
        margin: 0;
        padding: 0;
        /*font-weight: bold;*/
        /*font-size: 35px;*/
        font-size: 250%;
        /*line-height: 38.5px;*/
    }
/*}*/

.tytulNaglowka{
    /*position: relative;*/
    width: 10em;
    /*display: block;*/
    width: 100%;
    margin: auto;
}

.tytulNaglowka img{
    display: block;
    margin: auto;
}
.tytulNaglowka h1{
    color: #909191;
    font-size: 35px;
    line-height:38px;
    margin: auto;
    text-align: center;
}


@media only screen{
    #brbk .tytulKarty{
        font-size: 50px;
        line-height:55px;
    }

    .pozycja {
        position: relative;
        height: 18em;
        width: 10em;
    }

    .pozycje{
        /*position: relative;*/
        display: block;
        margin: auto;
        min-width: 40em;
        height: 18em;

        position: absolute;
        left: 50%;
        transform: translate(-50%, 0%);
    }
    .zestawDwoch{
        display: inline-block;
        height: 16em;
        margin: 5%;
        margin: 2em;
        max-width: 40em;
        margin: auto;
        float: left;

        margin-top: 15%;
    }
}

@media only screen and (max-width: 40em) {
    .pozycje {
        /*display:block;*/
        position: relative;
        /*top: auto;*/
        /*left: auto;*/
        /*transform: translate(-50%, 0%);*/
        min-width: 0;

        left: auto;
        right: auto;
        transform:none;
        /*margin: auto;*/
        max-width: 20em;
        /*background-color: rebeccapurple;*/
    }
    .zestawDwoch {
        display: block;
        /*margin: auto;*/
    }
}
@media only screen and (max-width: 918px) {

    #navigationBarContainer {
        height: 5.9em;
    }

    #navigationBar {
        height: 5.9em;
    }


    .pozycja {
        position: relative;
        height: 16em;
        width: 10em;
    }
}

@media only screen and (max-width: 675px) {
    #panel_przyciskow{
        display: none;
    }
    #menuButtonSquare{
        width: 2em;
        display: inline;
    }

    #navigationBarContainer {
        height: 3.9em;
    }

    #navigationBar {
        height: 3.9em;
    }

    #flagi_poziom{
        display: none;
    }
    #flagi_pion{
        display: block;
        width:15em;
    }
}

@media only screen and (max-width: 600px) {
    #logo_bk{
        width: 15em;
    }


}

@media only screen and (max-width: 500px) {
    #brbk .tytulKarty{
        font-size: 45px;
        line-height:50px;
    }


}

@media only screen and (max-width: 400px) {
    #brbk .tytulKarty{
        font-size: 40px;
        line-height:45px;
    }

    .zestawDwoch{
        height: 12em;
    }

    .pozycja {
        position: relative;
        height: 12em;
        width: 11.5em;
    }
}

@media only screen and (max-width: 360px) {
    #brbk .tytulKarty{
        font-size: 35px;
        line-height:40px;
    }

    .pozycja {
        position: relative;
        height: 11em;
        width: 10.5em;
    }
}

@media only screen and (max-width: 320px) {
    #brbk .tytulKarty{
        font-size: 30px;
        line-height:35px;
    }

    .pozycja {
        position: relative;
        height: 9em;
        width: 8.5em;
    }
}

@media only screen and (max-width: 280px) {


}